package hjt.com.module.main;

import androidx.databinding.BindingAdapter;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

/**
 * created by Admin
 * created on 2020/3/6
 */
public class ImageUtils {

    @BindingAdapter({"imgUrl"})
    public static void loadImage(ImageView imageView, String url) {
        Glide.with(imageView.getContext()).load(url).into(imageView);
    }
}
